﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.Meeting.Domain
{
    /// <summary>
    /// 会议室信息
    /// </summary>
    [Table("MeetingRoom")]
    public class MeetingRoom : Basedata
    {
        /// <summary>
        /// 会议室ID
        /// </summary
        public int MeetingRoomId { get; set; }
        /// <summary>
        /// 会议室名称
        /// </summary>
        [Required]
        [StringLength(50)]
        public string MeetingRoomName { get; set; }
        /// <summary>
        /// 容纳人数
        /// </summary>
        [Required]
        [StringLength(50)]
        public string Capacity { get; set; }
        /// <summary>
        /// 会议位置
        /// </summary>
        [Required]
        [StringLength(100)]
        public string Location { get; set; }
        /// <summary>
        /// 管理员
        /// </summary>
        [Required]
        [StringLength(100)]
        public string UserName { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        [Required]
        [StringLength(50)]
        public string UserPhone { get; set; }
        /// <summary>
        /// 预约审批
        /// </summary>
        [Required]
        public int CheckStatus { get; set; }
        /// <summary>
        /// 智能会议室
        /// </summary>
        [Required]
        public int IsIntelligent { get; set; }
        /// <summary>
        /// 会议室图片（新增字段）
        /// </summary>
        [Required]
        public string MeetingRoomImage { get; set; }

    }
}
